

/*
*
* 资源监控 路由管理
*
* */

/*原始页面*/
const monitorRouter = () => import('@/views/resMonitor/monitor');
const resourceNode = () => import('@/views/resMonitor/resourceNode');
const resourceManage = () => import('@/views/resMonitor/resourceManage');
const nodeDetails = () => import('@/views/resMonitor/nodeDetails');

/*监控首页*/
const monitorMainPage = () => import("@/views/resMonitor/newMonitor/monitorMainPage/monitorMainPage");

/*状态监控*/
const graphicsMonitor = () => import("@/views/resMonitor/newMonitor/statusMonitor/nodesMonitor/graphicsMonitor")
const nodesMonitor = () => import("@/views/resMonitor/newMonitor/statusMonitor/nodesMonitor/nodesMonitor");
const nodesMonitorDetail = () => import("@/views/resMonitor/newMonitor/statusMonitor/nodesMonitor/nodesMonitorDetail");
const podMonitorDetail = () => import("@/views/resMonitor/newMonitor/statusMonitor/nodesMonitor/podMonitorDetail");
const serviceMonitor = () => import("@/views/resMonitor/newMonitor/statusMonitor/serviceMonitor/serviceMonitor");
const systemMonitor = () => import("@/views/resMonitor/newMonitor/statusMonitor/systemMonitor/systemMonitor");

/*配置管理*/
const nodesManagement = () => import("@/views/resMonitor/newMonitor/configurationManage/nodesManagement");
const cunchuMonitorDetail = () => import("@/views/resMonitor/newMonitor/configurationManage/cunchuMonitorDetail");
const systemManagement = () => import("@/views/resMonitor/newMonitor/configurationManage/systemManagement");

const serviceManagement = () => import("@/views/resMonitor/newMonitor/serverManage/serviceManagement");
const serviceManageDetial = () => import("@/views/resMonitor/newMonitor/serverManage/serviceManageDetial");
const resourceManagement = () => import("@/views/resMonitor/newMonitor/serverManage/resourceManagement");

/*告警管理*/
const alarmManagement = () => import("@/views/resMonitor/newMonitor/alarmManage/alarmManagement");
const alarmStatistics = () => import("@/views/resMonitor/newMonitor/alarmManage/alarmStatistics");
const logManagement = () => import("@/views/resMonitor/newMonitor/alarmManage/logManagement");
const alarmSetUp = () => import("@/views/resMonitor/newMonitor/alarmManage/alarmSetUp");

export default [
     {
          path: '/monitor/server',
          name: 'server',
          component: monitorRouter
     },
     {
          path: '/monitor/resourceNode',
          name: 'resourceNode',
          component: resourceNode
     },
     {
          path: '/monitor/resourceManage',
          name: 'resourceManage',
          component: resourceManage
     },
     {
          path: '/monitor/resourceNode/nodeDetails/:name',
          name: 'nodeDetails',
          component: nodeDetails
     },
     {
          path: '/monitor/monitorMainPage',
          alias:'monitor',
          name: 'monitorMainPage',
          component: monitorMainPage

     },

     /*状态监控*/
     {
          path: '/monitor/statusMonitor/graphicsMonitor',
          name: 'graphicsMonitor',
          component: graphicsMonitor
     },
     {
          path: '/monitor/statusMonitor/nodesMonitor',
          name: 'nodesMonitor',
          component: nodesMonitor
     },
     {
          path: '/monitor/statusMonitor/nodesMonitorDetail',
          name: 'nodesMonitorDetail',
          component: nodesMonitorDetail
     },
     {
          path: '/monitor/statusMonitor/podMonitorDetail',
          name: 'podMonitorDetail',
          component: podMonitorDetail
     },
     {
          path: '/monitor/statusMonitor/serviceMonitor',
          name: 'serviceMonitor',
          component: serviceMonitor
     },
     {
          path: '/monitor/statusMonitor/systemMonitor',
          name: 'systemMonitor',
          component: systemMonitor
     },

    /*一下为监控新页面*/
     {
          path: '/monitor/alarmManage/alarmManagement',
          name: 'alarmManagement',
          component: alarmManagement
     },
     {
          path: '/monitor/alarmManage/logManagement',
          name: 'logManagement',
          component: logManagement
     },
     {
          path: '/monitor/alarmManage/alarmStatistics',
          name: 'alarmStatistics',
          component: alarmStatistics
     },
     {
          path: '/monitor/alarmManage/alarmSetUp',
          name: 'alarmSetUp',
          component: alarmSetUp
     },

/*  配置管理  */

     {
          path: '/monitor/configurationManage/nodesManagement',
          name: 'nodesManagement',
          component: nodesManagement
     },
     {
          path: '/monitor/configurationManage/systemManagement',
          name: 'systemManagement',
          component: systemManagement
     },
     {
          path: '/monitor/configurationManage/cunchuMonitorDetail',
          name: 'cunchuMonitorDetail',
          component: cunchuMonitorDetail
     },
     {
          path: '/monitor/serverManage/serviceManagement',
          name: 'serviceManagement',
          component: serviceManagement
     },
     {
          path: '/monitor/serverManage/serviceManageDetial',
          name: 'serviceManageDetial',
          component: serviceManageDetial
     },
     {
          path: '/monitor/serverManage/resourceManagement',
          name: 'resourceManagement',
          component: resourceManagement
     },







]
